package com.hoshiicloud.user.param.usercenter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户积分分页查询参数实体
 *
 * @author : yangcheng
 * @date : 2019/5/13 09:34
 * @mail : maiboyc@163.com
 **/
@ApiModel
@Data
public class MemberIntegrationPageParam {

    /**
     *当前页，默认1
     */
    @ApiModelProperty(name = "pageIndex", value = "当前页码", required = true, dataType = "java.lang.Long", example = "1")
    private Long pageIndex = 1L;

    /**
     *每页数量，默认10
     */
    @ApiModelProperty(name = "pageSize", value = "每页大小", required = true, dataType = "java.lang.Long", example = "10")
    private Long pageSize = 10L;

    // 用户ID
    @ApiModelProperty(name = "userId", value = "用户主键ID", dataType = "java.lang.Long", example = "3171776001692664000")
    private Long userId;

    // 积分编号
    @ApiModelProperty(name = "integrationno", value = "积分编号", dataType = "java.lang.String", example = "JF0001")
    private String integrationno;

    // 来源  1-消费 2-活动 3-退单返回
    @ApiModelProperty(name = "source", value = "来源", dataType = "java.lang.Integer", example = "1")
    private Integer source;

    // 状态 1-有效 2-已过期   3-已作废 4- 已使用
    @ApiModelProperty(name = "status", value = "状态", dataType = "java.lang.Integer", example = "1")
    private Integer status;

}  